#pragma once

#include <QProcess>
#include <QDir>
#include "pioplugin.h"

class MiniDLNAPlugin : public QObject, PioPlugin
{
    Q_OBJECT
    Q_INTERFACES(PioPlugin)

public:
    MiniDLNAPlugin(QObject * parent = 0);
    ~MiniDLNAPlugin();
    void setup(PioCore * core);
    QStringList licenseInfo();

private slots:
    void shareSelection(bool share);
    void clear();

private:
    PioCore * m_core;
    QProcess m_process;
    QDir m_basedir;
    QAction * m_action;
};

